
#pragma warning( disable: 4049 )  /* more than 64k source lines */

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0347 */
/* at Mon Mar 03 13:42:39 2008
 */
/* Compiler settings for \svn\fp-ce\trunk\Src\XBLResolver\XBLResolver.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __XBLResolver_h__
#define __XBLResolver_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IBindingResolver_FWD_DEFINED__
#define __IBindingResolver_FWD_DEFINED__
typedef interface IBindingResolver IBindingResolver;
#endif 	/* __IBindingResolver_FWD_DEFINED__ */


#ifndef __BindingResolver_FWD_DEFINED__
#define __BindingResolver_FWD_DEFINED__

#ifdef __cplusplus
typedef class BindingResolver BindingResolver;
#else
typedef struct BindingResolver BindingResolver;
#endif /* __cplusplus */

#endif 	/* __BindingResolver_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "DOM3ImplReg.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

#ifndef __IBindingResolver_INTERFACE_DEFINED__
#define __IBindingResolver_INTERFACE_DEFINED__

/* interface IBindingResolver */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IBindingResolver;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("913EF2DD-F5A8-4311-82A1-541DC75C1B3D")
    IBindingResolver : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Init( 
            /* [in] */ BSTR BindingsURL,
            /* [in] */ IDOMImplementation *pImpl) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBindingURL( 
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ BSTR *pbsRetval) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBindingNode( 
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ IXMLDOMNode **ppBindingNode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNamedBindingNode( 
            /* [in] */ BSTR bsBindingURL,
            /* [retval][out] */ IXMLDOMNode **ppBindingNode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddSchemeDirectory( 
            /* [in] */ BSTR bsSchemeName,
            /* [in] */ BSTR bsFullPath) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetBinding( 
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ IUnknown **ppEngine) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_selectionNamespaces( 
            /* [retval][out] */ IXMLDOMNodeList **ppNamespaces) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadAdditionalMappings( 
            /* [in] */ BSTR BindingsURL) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddPreloadedBinding( 
            /* [in] */ BSTR bsURL,
            /* [in] */ IXMLDOMNode *pBindingNode) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddMapping( 
            /* [in] */ BSTR bsBindingMatchPattern,
            /* [in] */ BSTR bsNSDecl,
            /* [in] */ BSTR bsBindingURL,
            /* [in] */ VARIANT priority) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddMappingNodes( 
            /* [in] */ IXMLDOMNodeList *pMappingNodes,
            /* [in] */ BSTR bsBaseURL) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveMapping( 
            /* [in] */ BSTR bsBindingMatchPattern,
            /* [in] */ BSTR bsBindingURL) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveMappingNodes( 
            /* [in] */ IXMLDOMNodeList *pMappingNodes,
            /* [in] */ BSTR bsBaseURL) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IBindingResolverVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IBindingResolver * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IBindingResolver * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IBindingResolver * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IBindingResolver * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IBindingResolver * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IBindingResolver * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IBindingResolver * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Init )( 
            IBindingResolver * This,
            /* [in] */ BSTR BindingsURL,
            /* [in] */ IDOMImplementation *pImpl);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBindingURL )( 
            IBindingResolver * This,
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ BSTR *pbsRetval);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBindingNode )( 
            IBindingResolver * This,
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ IXMLDOMNode **ppBindingNode);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNamedBindingNode )( 
            IBindingResolver * This,
            /* [in] */ BSTR bsBindingURL,
            /* [retval][out] */ IXMLDOMNode **ppBindingNode);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddSchemeDirectory )( 
            IBindingResolver * This,
            /* [in] */ BSTR bsSchemeName,
            /* [in] */ BSTR bsFullPath);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetBinding )( 
            IBindingResolver * This,
            /* [in] */ IXMLDOMNode *pNode,
            /* [retval][out] */ IUnknown **ppEngine);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectionNamespaces )( 
            IBindingResolver * This,
            /* [retval][out] */ IXMLDOMNodeList **ppNamespaces);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LoadAdditionalMappings )( 
            IBindingResolver * This,
            /* [in] */ BSTR BindingsURL);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddPreloadedBinding )( 
            IBindingResolver * This,
            /* [in] */ BSTR bsURL,
            /* [in] */ IXMLDOMNode *pBindingNode);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddMapping )( 
            IBindingResolver * This,
            /* [in] */ BSTR bsBindingMatchPattern,
            /* [in] */ BSTR bsNSDecl,
            /* [in] */ BSTR bsBindingURL,
            /* [in] */ VARIANT priority);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddMappingNodes )( 
            IBindingResolver * This,
            /* [in] */ IXMLDOMNodeList *pMappingNodes,
            /* [in] */ BSTR bsBaseURL);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveMapping )( 
            IBindingResolver * This,
            /* [in] */ BSTR bsBindingMatchPattern,
            /* [in] */ BSTR bsBindingURL);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveMappingNodes )( 
            IBindingResolver * This,
            /* [in] */ IXMLDOMNodeList *pMappingNodes,
            /* [in] */ BSTR bsBaseURL);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
            IBindingResolver * This);
        
        END_INTERFACE
    } IBindingResolverVtbl;

    interface IBindingResolver
    {
        CONST_VTBL struct IBindingResolverVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IBindingResolver_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IBindingResolver_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IBindingResolver_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IBindingResolver_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IBindingResolver_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IBindingResolver_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IBindingResolver_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IBindingResolver_Init(This,BindingsURL,pImpl)	\
    (This)->lpVtbl -> Init(This,BindingsURL,pImpl)

#define IBindingResolver_GetBindingURL(This,pNode,pbsRetval)	\
    (This)->lpVtbl -> GetBindingURL(This,pNode,pbsRetval)

#define IBindingResolver_GetBindingNode(This,pNode,ppBindingNode)	\
    (This)->lpVtbl -> GetBindingNode(This,pNode,ppBindingNode)

#define IBindingResolver_GetNamedBindingNode(This,bsBindingURL,ppBindingNode)	\
    (This)->lpVtbl -> GetNamedBindingNode(This,bsBindingURL,ppBindingNode)

#define IBindingResolver_AddSchemeDirectory(This,bsSchemeName,bsFullPath)	\
    (This)->lpVtbl -> AddSchemeDirectory(This,bsSchemeName,bsFullPath)

#define IBindingResolver_GetBinding(This,pNode,ppEngine)	\
    (This)->lpVtbl -> GetBinding(This,pNode,ppEngine)

#define IBindingResolver_get_selectionNamespaces(This,ppNamespaces)	\
    (This)->lpVtbl -> get_selectionNamespaces(This,ppNamespaces)

#define IBindingResolver_LoadAdditionalMappings(This,BindingsURL)	\
    (This)->lpVtbl -> LoadAdditionalMappings(This,BindingsURL)

#define IBindingResolver_AddPreloadedBinding(This,bsURL,pBindingNode)	\
    (This)->lpVtbl -> AddPreloadedBinding(This,bsURL,pBindingNode)

#define IBindingResolver_AddMapping(This,bsBindingMatchPattern,bsNSDecl,bsBindingURL,priority)	\
    (This)->lpVtbl -> AddMapping(This,bsBindingMatchPattern,bsNSDecl,bsBindingURL,priority)

#define IBindingResolver_AddMappingNodes(This,pMappingNodes,bsBaseURL)	\
    (This)->lpVtbl -> AddMappingNodes(This,pMappingNodes,bsBaseURL)

#define IBindingResolver_RemoveMapping(This,bsBindingMatchPattern,bsBindingURL)	\
    (This)->lpVtbl -> RemoveMapping(This,bsBindingMatchPattern,bsBindingURL)

#define IBindingResolver_RemoveMappingNodes(This,pMappingNodes,bsBaseURL)	\
    (This)->lpVtbl -> RemoveMappingNodes(This,pMappingNodes,bsBaseURL)

#define IBindingResolver_Reset(This)	\
    (This)->lpVtbl -> Reset(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_Init_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR BindingsURL,
    /* [in] */ IDOMImplementation *pImpl);


void __RPC_STUB IBindingResolver_Init_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_GetBindingURL_Proxy( 
    IBindingResolver * This,
    /* [in] */ IXMLDOMNode *pNode,
    /* [retval][out] */ BSTR *pbsRetval);


void __RPC_STUB IBindingResolver_GetBindingURL_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_GetBindingNode_Proxy( 
    IBindingResolver * This,
    /* [in] */ IXMLDOMNode *pNode,
    /* [retval][out] */ IXMLDOMNode **ppBindingNode);


void __RPC_STUB IBindingResolver_GetBindingNode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_GetNamedBindingNode_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR bsBindingURL,
    /* [retval][out] */ IXMLDOMNode **ppBindingNode);


void __RPC_STUB IBindingResolver_GetNamedBindingNode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_AddSchemeDirectory_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR bsSchemeName,
    /* [in] */ BSTR bsFullPath);


void __RPC_STUB IBindingResolver_AddSchemeDirectory_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_GetBinding_Proxy( 
    IBindingResolver * This,
    /* [in] */ IXMLDOMNode *pNode,
    /* [retval][out] */ IUnknown **ppEngine);


void __RPC_STUB IBindingResolver_GetBinding_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IBindingResolver_get_selectionNamespaces_Proxy( 
    IBindingResolver * This,
    /* [retval][out] */ IXMLDOMNodeList **ppNamespaces);


void __RPC_STUB IBindingResolver_get_selectionNamespaces_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_LoadAdditionalMappings_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR BindingsURL);


void __RPC_STUB IBindingResolver_LoadAdditionalMappings_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_AddPreloadedBinding_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR bsURL,
    /* [in] */ IXMLDOMNode *pBindingNode);


void __RPC_STUB IBindingResolver_AddPreloadedBinding_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_AddMapping_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR bsBindingMatchPattern,
    /* [in] */ BSTR bsNSDecl,
    /* [in] */ BSTR bsBindingURL,
    /* [in] */ VARIANT priority);


void __RPC_STUB IBindingResolver_AddMapping_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_AddMappingNodes_Proxy( 
    IBindingResolver * This,
    /* [in] */ IXMLDOMNodeList *pMappingNodes,
    /* [in] */ BSTR bsBaseURL);


void __RPC_STUB IBindingResolver_AddMappingNodes_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_RemoveMapping_Proxy( 
    IBindingResolver * This,
    /* [in] */ BSTR bsBindingMatchPattern,
    /* [in] */ BSTR bsBindingURL);


void __RPC_STUB IBindingResolver_RemoveMapping_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_RemoveMappingNodes_Proxy( 
    IBindingResolver * This,
    /* [in] */ IXMLDOMNodeList *pMappingNodes,
    /* [in] */ BSTR bsBaseURL);


void __RPC_STUB IBindingResolver_RemoveMappingNodes_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IBindingResolver_Reset_Proxy( 
    IBindingResolver * This);


void __RPC_STUB IBindingResolver_Reset_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IBindingResolver_INTERFACE_DEFINED__ */



#ifndef __XBLResolverLib_LIBRARY_DEFINED__
#define __XBLResolverLib_LIBRARY_DEFINED__

/* library XBLResolverLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_XBLResolverLib;

EXTERN_C const CLSID CLSID_BindingResolver;

#ifdef __cplusplus

class DECLSPEC_UUID("B73E9E5E-6F4C-449D-BCAB-9A0C890F2385")
BindingResolver;
#endif
#endif /* __XBLResolverLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


